package com.coin900.coin.persist.coin;

import com.coin900.coin.persist.FuVO;

/**
 * 项目支持的虚拟币
 *
 * @author shui
 * @create 2018-1-16
 */
public class CoinProjectCoinVO extends FuVO {

    /**
     * 项目 id
     */
    private Long projectId;

    /**
     * 虚拟币 id
     */
    private Long coinId;

    /**
     * 用户虚拟币钱包地址
     */
    private String walletAddress;

    /***** 非持久化 START *****/

    /**
     * 虚拟币名称
     */
    private String coinName;

    /**
     * 代币:虚拟币-1:proportion
     */
    private Double proportion;

    /***** 非持久化 END *****/

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Long getCoinId() {
        return coinId;
    }

    public void setCoinId(Long coinId) {
        this.coinId = coinId;
    }

    public String getWalletAddress() {
        return walletAddress;
    }

    public void setWalletAddress(String walletAddress) {
        this.walletAddress = walletAddress;
    }

    public String getCoinName() {
        return coinName;
    }

    public void setCoinName(String coinName) {
        this.coinName = coinName;
    }

    public Double getProportion() {
        return proportion;
    }

    public void setProportion(Double proportion) {
        this.proportion = proportion;
    }

    @Override
    public String toString() {
        return super.toString() +
                "CoinProjectCoinVO{" +
                "projectId=" + projectId +
                ", coinId=" + coinId +
                ", walletAddress='" + walletAddress + '\'' +
                ", coinName='" + coinName + '\'' +
                ", proportion='" + proportion + '\'' +
                '}';
    }
}